package com.kly.smartbi.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kly.smartbi.model.dto.chat.ChatAddMessageDto;
import com.kly.smartbi.model.dto.chat.ChatQueryMessageDto;
import com.kly.smartbi.model.entity.ChatConversations;

/**
* @author admin
* @description 针对表【chat_conversations(对话主表)】的数据库操作Service
* @createDate 2025-03-30 20:43:49
*/
public interface ChatConversationsService extends IService<ChatConversations> {


    /**
     * 开始对话
     *
     * @param chatAddMessageDto@return
     */
    String startChat(ChatAddMessageDto chatAddMessageDto);

    /**
     * 创建对话
     *
     * @return
     */
    Long createChat();

    /**
     * 获取查询包装类
     * @param chatQueryMessageDto
     * @return
     */
    QueryWrapper<ChatConversations> getQueryWrapper(ChatQueryMessageDto chatQueryMessageDto);
}
